package com.aletto.general_store.presenters;

import com.aletto.general_store.data.ERC20ServiceAbi;

import org.web3j.protocol.core.methods.response.EthSendTransaction;

import java.io.IOException;


public class OrderRaiseArbitrationTask extends OrderContractTask {

    public OrderRaiseArbitrationTask(Long orderId) {
        super(orderId);
    }

    @Override
    public EthSendTransaction contractTask(Long orderId, String privateKey, String contractAddress) throws IOException {
        return ERC20ServiceAbi.raiseArbitration(orderId, privateKey, contractAddress);
    }

}